#include "Splash.h"
#include "../Utils/Utils.h"

Splash::Splash()
{
	Init();
}

Splash::~Splash()
{}

void Splash::Init()
{
	gtk_window_set_default_size(GTK_WINDOW(m_window), 400, 120);
	gtk_window_set_position(GTK_WINDOW(m_window), GTK_WIN_POS_CENTER);

	m_image	= gtk_image_new_from_file("logo.png");
	
	gtk_container_add(GTK_CONTAINER(m_window), m_image);

	gtk_window_set_icon(GTK_WINDOW(m_window), create_pixbuf("icon.png"));
}